<template>

  <div class="server-container" v-for="message in serverMessage">
    <div class="top">
      <span class="title">系统通知标题</span>
      <span class="time">时间</span>
    </div>


    <div class="bottom">
      <p>内容</p>
    </div>
  </div>

</template>

<script setup>
import {ref} from "vue";

const props = defineProps(['user_id']);

const serverMessage = ref([
  {

  },
  {

  },
  {

  },
]);

</script>

<style scoped>
.server-container{
  padding: 24px 16px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 4px 0 rgba(121,146,185,0.54);
  box-shadow: 0 2px 4px 0 rgba(121,146,185,0.54);
  margin-bottom: 10px;
  border-radius: 4px;
  line-height: 24px;
  position: relative;
}

.top{
  height: 24px;
}

.title{
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.time{
  color: #999;
  font-size: 12px;
  line-height: 22px;
  margin: 0 10px;
}

.bottom{
  height: 48px;
  color: #666;
  padding-left: 8px;
  font-size: 14px;
}
</style>